package com.ctshk.rpc.air.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 机票产品
 * </p>
 *
 * @author lihang
 * @since 2021-03-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_air_product")
@ApiModel(value="AirProduct对象", description="机票产品")
public class AirProduct extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "产品编号")
    private String code;

    @ApiModelProperty(value = "航空公司名称 暫時不用 通過航班id從航班信息中獲取")
    private String companyName;

    @ApiModelProperty(value = "航空公司Id 暫時不用 通過航班id從航班信息中獲取")
    private Long companyId;


    @ApiModelProperty(value = "出发城市id 暫時不用 通過航班id從航班信息中獲取 ")
    private Long depCityId;

    @ApiModelProperty(value = "出发城市名称 暫時不用 通過航班id從航班信息中獲取 ")
    private String depCityName;

    @ApiModelProperty(value = "到达城市id 暫時不用 通過航班id從航班信息中獲取")
    private Long arrCityId;

    @ApiModelProperty(value = "到达城市名称 暫時不用 通過航班id從航班信息中獲取")
    private String arrCityName;

    @ApiModelProperty(value = "航班id")
    private Long routeId;

    @ApiModelProperty(value = "航班名称 暫時不用 通過航班id從航班信息中獲取")
    private String routeName;

    @ApiModelProperty(value = "船舱等级類型id(主数据获取)")
    private Long cabinClass;

    @ApiModelProperty(value = "船舱等级類型名称)")
    private String cabinName;

    @ApiModelProperty(value = "供应商id(信德船票)")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称(信德船票)")
    private String supplierName;

    @ApiModelProperty(value = "负责人id")
    private Long chargeUserId;

    @ApiModelProperty(value = "适用人群id")
    private Long applicableCrowdId;

    @ApiModelProperty(value = "适用人群名称")
    private String applicableCrowdName;

    @ApiModelProperty(value = "打包状态（1：允许打包 2：不允许打包 3：只限打包）")
    private Integer packStatus;

    @ApiModelProperty(value = "审批状态（1 待提交，2 待审批，3 审批中，4 审批不通过，5 审批通过）")
    private Integer approvalStatus;

    @ApiModelProperty(value = "售卖状态（0 无效，1 有效）当审批状态为通过时才会有售卖状态1")
    private Integer sellStatus;

    @ApiModelProperty(value = "是否推荐 （0不推荐 1推荐）")
    private Integer recommendStatus;

    @ApiModelProperty(value = "来源(1 手动，2 api)")
    private Integer source;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
